package com.joolun.system.domain;

import com.joolun.common.annotation.Excel;
import com.joolun.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 协议信息对象 edu_agreement
 * 
 * @author joolun
 * @date 2025-02-27
 */
@Data
public class EduAgreement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 协议id */
    private Long agreementId;

    /** 协议标题 */
    @Excel(name = "协议标题")
    private String agreementTitle;

    /** 协议内容 */
    @Excel(name = "协议内容")
    private String agreementContent;

    public void setAgreementId(Long agreementId) 
    {
        this.agreementId = agreementId;
    }

    public Long getAgreementId() 
    {
        return agreementId;
    }
    public void setAgreementTitle(String agreementTitle) 
    {
        this.agreementTitle = agreementTitle;
    }

    public String getAgreementTitle() 
    {
        return agreementTitle;
    }
    public void setAgreementContent(String agreementContent) 
    {
        this.agreementContent = agreementContent;
    }

    public String getAgreementContent() 
    {
        return agreementContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("agreementId", getAgreementId())
            .append("agreementTitle", getAgreementTitle())
            .append("agreementContent", getAgreementContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
